//
//  DBPageControl.m
//  八闽出行
//
//  Created by Lin Buken on 15/12/31.
//  Copyright © 2015年 com.aiton. All rights reserved.
//

#import "DBPageControl.h"

@implementation DBPageControl

//初始化方法
+(instancetype)createPage
{
    //初始化方法
    DBPageControl *page = [[DBPageControl alloc] init];
    //起始页
    page.currentPage = 0;
    //页数
    page.numberOfPages = 10;
    //分页点的颜色
    page.currentPageIndicatorTintColor = [UIColor orangeColor];
    
    page.pageIndicatorTintColor = [UIColor cyanColor];
    
    return page;
}

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
